package com.sairobo.admin.modules.srblive.manager;

import com.baomidou.mybatisplus.service.IService;
import com.sairobo.base.common.entity.Page;
import com.sairobo.base.common.entity.Query;
import com.sairobo.admin.modules.srblive.entity.LiveXcxCourses;

import java.util.List;

/**
 * 
 *
 * @author admin
 * @email sairobo
 * @url www.sairobo.com
 * @date 2018年1月22日 上午11:48:30
 */
public interface LiveXcxCoursesManager extends IService<LiveXcxCourses>{

	List<LiveXcxCourses> listLiveXcxCourses(Page<LiveXcxCourses> page, Query search);
	
	int saveLiveXcxCourses(LiveXcxCourses liveXcxCourses);
	
	LiveXcxCourses getLiveXcxCoursesById(Long id);

    /**
     * 根据cid点播课id获取bean
     * @param cid
     * @return
     */
    LiveXcxCourses getLiveXcxCoursesByCId(String cid);
	
	int updateLiveXcxCourses(LiveXcxCourses liveXcxCourses);
	
	int batchRemove(Long[] id);
	
}
